package top.yeyusmile.pojo;

import com.google.gson.annotations.SerializedName;

/**
 * {
 *     "nameen": "zhaoping",
 *     "cityname": "昭平",
 *     "city": "101300702",
 *     "temp": "24",
 *     "tempf": "75",
 *     "WD": "东北风",
 *     "wde": "NE",
 *     "WS": "1级",
 *     "wse": "3km\/h",
 *     "SD": "90%",
 *     "sd": "90%",
 *     "qy": "995",
 *     "njd": "9km",
 *     "time": "14:25",
 *     "rain": "0",
 *     "rain24h": "0",
 *     "aqi": "28",
 *     "aqi_pm25": "28",
 *     "weather": "多云",
 *     "weathere": "Cloudy",
 *     "weathercode": "d01",
 *     "limitnumber": "",
 *     "date": "03月17日(星期四)"
 * }
 * @author 夜雨
 * @Web www.yeyusmile.top
 * @date 2022/3/17 14:52
 */
public class Weather {
    @SerializedName("cityname")
    String cityName;

    @SerializedName("weather")
    String weather;

    @SerializedName("temp")
    String temp;

    @SerializedName("WD")
    String wind;

    @SerializedName("WS")
    String windGrade;//风级

    @SerializedName("wse")
    String windSpeed;//风速

    @SerializedName("SD")
    String wet;//湿度

    @SerializedName("date")
    String date;//风速


    @Override
    public String toString() {
        return "城市：" + cityName + '\n' +
                "天气：" + weather + '\n' +
                "温度：" + temp + '\n' +
                "风向：" + wind + '\n' +
                "风级：" + windGrade + '\n' +
                "风速：" + windSpeed + '\n' +
                "湿度：" + wet+ '\n' +
                "日期：" + date ;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getWeather() {
        return weather;
    }

    public void setWeather(String weather) {
        this.weather = weather;
    }

    public String getTemp() {
        return temp;
    }

    public void setTemp(String temp) {
        this.temp = temp;
    }

    public String getWind() {
        return wind;
    }

    public void setWind(String wind) {
        this.wind = wind;
    }

    public String getWindGrade() {
        return windGrade;
    }

    public void setWindGrade(String windGrade) {
        this.windGrade = windGrade;
    }

    public String getWindSpeed() {
        return windSpeed;
    }

    public void setWindSpeed(String windSpeed) {
        this.windSpeed = windSpeed;
    }

    public String getWet() {
        return wet;
    }

    public void setWet(String wet) {
        this.wet = wet;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }
}
